package chatsystem.util;

/** Thread safe, Bidirectionnal map. */
public class BidiMap_TS <Key, Value> extends BidiMap<Key, Value>
{
   
   public synchronized void      insert(Key k, Value v)  {super.insert(k, v);}
   public synchronized boolean   hasKey(Key k)           {return super.hasKey(k);}
   public synchronized boolean   hasValue(Value v)       {return super.hasValue(v);}
   public synchronized Value     getByKey(Key k)         {return super.getByKey(k);}   
   public synchronized Key       getByValue(Value v)     {return super.getByValue(v);}
   public synchronized void      removeByKey(Key k)      {super.removeByKey(k);}
   public synchronized void      removeByValue(Value v)  {super.removeByValue(v);}
           
}
